package com.pts.vo;

//产品表
public class Product {
    //id
    private int id;
    //农产品名
    private String name;
    //编码
    private String card;
    //产品类别编码
    private byte tid;
    //安全等级
    private byte state;
    //生产id
    private int pid;

    //图片地址
    private String img;

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public void setTid(byte tid) {
        this.tid = tid;
    }

    public void setState(byte state) {
        this.state = state;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public void setImg(String img) {this.img = img;}

    public int getId() {
        return id;
    }


    public String getName() {
        return name;
    }

    public String getCard() {
        return card;
    }

    public int getTid() {
        return tid;
    }

    public int getState() {
        return state;
    }

    public int getPid() {
        return pid;
    }

    public String getImg(){return this.img;}
}
